package com.app.designpatternslearn.structured.proxypattern.code

class BuyCarProxy(private val buyCar: BuyCar?): Buy {
    override fun buy() {
        println("中介介绍车子")
        buyCar?.buy()
        println("中介交易成功")
    }
}